package com.wzk.travelspringboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/12 19:59
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_scenic_comment")
public class ScenicComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private Long scenicId;

    private Long userId;

    private String content;

    private Long like;

    private LocalDateTime createTime;

}
